{extend name="property/public/insidePageBase" /}
{block name="title"}添加职权部门{/block}
{block name="body"}
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-form layui-form-pane">
            <div class="layui-form-item">
                <label class="layui-form-label">上级部门</label>
                <div class="layui-input-block">
                    <input type="text" name="pid" id="group-Data" autocomplete="off" class="layui-input">
                </div>
            </div>

            <div class="layui-form-item">
                <label class="layui-form-label">部门名称</label>
                <div class="layui-input-block">
                    <input type="text" name="name" lay-verify="require" autocomplete="off" placeholder="请输入部门名称" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item" pane="">
                <label class="layui-form-label required">启用状态</label>
                <div class="layui-input-block">
                    <input type="radio" name="is_show" value="1" title="开启"/>
                    <input type="radio" name="is_show" value="2" title="禁用"/>
                </div>
            </div>
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">备注说明</label>
                <div class="layui-input-block">
                    <textarea id="content" name="remark" placeholder="请输入备注说明" class="layui-textarea"></textarea>
                </div>
            </div>
            <div class="layui-form-item layui-hide">
                <button class="layui-btn" lay-submit lay-filter="submitBtn" id="submitBtn">提交</button>
            </div>
        </div>
    </div>
</div>
{/block}
{block name="js"}
{__block__}
<script>
    layui.use(['form', 'layer', 'layCascader'], function () {
        var form = layui.form,layer = layui.layer,$ = layui.$;
        var layCascader = layui.layCascader;
        layCascader({
            elem: '#group-Data',
            clearable: true,
            value: 0,
            placeholder:'顶级分类',
            options: {:json_encode($groupData,JSON_UNESCAPED_UNICODE)}
        });
    });

</script>
{/block}